//
//  HLNetInterface.h
//  ArtDog
//
//  Created by dllo on 16/10/11.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "BaseModel.h"

@interface HLNetInterface : BaseModel

@property (nonatomic, copy) NSString *host;

#pragma mark - 路径
@property (nonatomic, copy) NSString *artgoer;
@property (nonatomic, copy) NSString *api;
@property (nonatomic, copy) NSString *version;
@property (nonatomic, copy) NSString *user;
@property (nonatomic, copy) NSString *home;
@property (nonatomic, copy) NSString *versionTwo;
@property (nonatomic, copy) NSString *indexHome;
#pragma mark - 参数
@property (nonatomic, copy) NSString *pageIndex;
@property (nonatomic, copy) NSString *token;
@property (nonatomic, copy) NSString *type;

@property (nonatomic, copy) NSString *equalToken;

@end

@interface NSString (NetInterface)

@property (nonatomic, copy) NSString *(^path)(NSString *string);
@property (nonatomic, copy) NSString *(^param)(NSString *string);
@property (nonatomic, copy) NSString *(^equalTo)(id object);

@end

@interface NSDictionary (NetInterface)

@property (nonatomic, copy) NSDictionary *(^net_dict)(id key, id value);

@end


